package com.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.model.ProjectTemplateDO;
import com.model.UserDO;
import org.apache.ibatis.annotations.Param;

/**
 * @author rkc
 * @date 2022/8/24 10:17
 */
public interface ProjectTemplateMapper extends BaseMapper<ProjectTemplateDO> {

    /**
     * 根据项目id查询使用的模板
     * @param pid
     * @return
     */
    ProjectTemplateDO selectOneByProjectId(@Param("pid") Integer pid);
}
